import request from '../utils/request'

const ADMIN = "/admin/"
//请求管理员列表
export function getAllAdmins() {
    return request.get(ADMIN + "/getAllAdmins")
}
// 删除管理员
export function delAdmins(data: any) {
    return request.post(ADMIN + "/delAdmins",{data})
}
// 新增管理员
export function addAdmins(data: any) {
    return request.post(ADMIN + "/addAdmins",{data})
}